package com.itheima.service;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.Clazz;
import com.itheima.pojo.PageResult;

import java.time.LocalDate;
import java.util.stream.BaseStream;

public interface ClazzService extends IService<Clazz> {


    PageResult<Clazz> getPage(String name, LocalDate begin, LocalDate end, int page, int pageSize);


    //Clazz getClazzById(Integer id);

    void saveClazz(Clazz clazz);

    void updateClazzById(Clazz clazz);

    void removeClazzById(Integer id);
}
